﻿@{
    ViewBag.Title = "手术规范学习";
}
@model List<zqdn.Models.Article.Article>

<div class="wrap">
    <div class="list-data-page common-list">
        @if (Model.Count == 0)
        {
            <p style='text-align:center;margin-top:10px;'>暂无手术信息！</p>
        }
        @foreach (var item in Model)
        {
            <div class="list-data">
                <input type="hidden" value="@item.ID" class="aid" />
                <ul>
                    <li class="items" id="left">
                        <div>
                            <img class="list-left-img" src="@(item.ThumbImg == null ? "../content/images/new-operation.png" : item.ThumbImg)" alt="最新手术集锦">
                        </div>
                    </li>
                    <li class="items" id="center">
                        <div class="nocenter">
                            <p class="title">@item.Title</p>
                            <p class="user-message">
                                <span class="m1"></span>
                                <span class="m2">术者</span>
                                <span class="m3">@item.Auth</span>
                            </p>
                            <p class="view-message">
                                <span class="m1"></span>
                                <span class="m2">已观看</span>
                                <span class="m3">@(item.WatchCount)次</span>
                            </p>
                        </div>
                    </li>

                    <li class="items" id="right"></li>
                </ul>
            </div>
        }
    </div>
</div>


@section scripts
{
    <script>
        $(function () {
            $(".list-data").on("click", function () {
                location.href = "/CommonCenter/OperationRoleListDetail/?aid=" + $(this).find(".aid").val() + ""
            });
        });
    </script>
}